#ifndef DBS_H
#define DBS_H

#include <QDialog>
#include<widget.h>
#include <QStandardItemModel>
namespace Ui {
class DBS;
}

class DBS : public QDialog
{
    Q_OBJECT

public:
    explicit DBS(QWidget *parent = nullptr);
    ~DBS();

private slots:
    void on_dbs_return_clicked();

    void on_querySearch_clicked();

private:
    Ui::DBS *ui;
    QStandardItemModel *model;
protected:
    //背景图，绘图事件
    void paintEvent(QPaintEvent *);
};

#endif
